package com.test.kotlin07

abstract class Gun(val range:Int){//抽象类
    abstract fun pullTrigger():String
}

class AK47(val price:Int):Gun(range =500){

    override fun pullTrigger(): String {
        TODO("Not yet implemented")
    }
}

fun main(){

}